package com.ieasy.module.system.entity;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.ieasy.basic.dao.ExtFieldEntity;

/**
 * @描述：岗位系数
 * @作者：杨浩泉
 * @时间：2016年11月22日
 * @版本：v1.0
 */
@Entity @Table(name="ieasy_sys_position_quotient")
public class QuotientEntity extends ExtFieldEntity {

	/**
	 * 年份
	 */
	private Integer year ;
	
	/**
	 * 系数
	 */
	private float quotient ;
	
	/**
	 * 岗位
	 */
	private PositionEntity position ;
	
	@ManyToOne
	@JoinColumn(name = "position_id")
	public PositionEntity getPosition() {
		return position;
	}

	public void setPosition(PositionEntity position) {
		this.position = position;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public float getQuotient() {
		return quotient;
	}

	public void setQuotient(float quotient) {
		this.quotient = quotient;
	}
	
}
